using UnityEngine;
using System.Collections;

[RequireComponent (typeof(UIButton))]
public class SelectArtistByCharButton : MonoBehaviour 
{
    public AppController appController;

    void OnClick()
    {
        appController.selectedChar = GetComponent<UIButton>().name[0];
        appController.artistGridController.currentChunk = 0;
        appController.RefreshArtistsGrid(GetComponent<UIButton>().name);
    }
}
